use comp_study::javascript::js_invoke;

mod unit_test {
    use super::*;
    #[test]
    fn trigger_js_test() {
        let _a = js_invoke::trigger();
    }

       #[test]
    fn trigger_js_function_test() {
        match js_invoke::invoke_js_function(){
        Ok(_) => println!("JavaScript 函数"),
        Err(e) => println!("调用 JavaScript 函数失败: {}", e),
        }
    }
}